<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<script>
document.cookie='user=blue';		//添加
document.cookie='pass=123456';

alert(document.cookie);
</script>
</head>

<body>
</body>
</html>
